
(require 'session)
(add-hook 'after-init-hook 'session-initialize)

(desktop-save-mode 1)
(setq desktop-dirname "~/.emacs.d/temp/")
(setq history-length 250)
(add-to-list 'desktop-globals-to-save 'file-name-history)

(require 'dired+)

(require 'ibuffer)
(global-set-key (kbd "C-x C-b") 'ibuffer)

(require 'ido)
(ido-mode t)

(require 'ebs)
(ebs-initialize)
(global-set-key (kbd "M-g l") 'ebs-switch-buffer)

(require 'swbuff)
(setq swbuff-exclude-buffer-regexps 
     '("^ " "\\*.*\\*"))

(setq swbuff-status-window-layout 'scroll)
(setq swbuff-clear-delay 1)
(setq swbuff-separator "|")
(setq swbuff-window-min-text-height 1)

(require 'pinbar)
(pinbar-mode t)
